//
//  AXFHeadCell.m
//  爱鲜蜂-购物车
//
//  Created by Joker on 2016/11/20.
//  Copyright © 2016年 new moon. All rights reserved.
//

#import "AXFDizhiCell.h"
#import "Masonry.h"
@implementation AXFDizhiCell
- (IBAction)orderBtn:(UIButton *)sender {
}

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setupUI];
    }
    
    return self;
    
}

- (void)setupUI{
    
    UILabel * lab = [[UILabel alloc]init];
    lab.text = @"鲜蜂侠需要您的精确坐标";
    lab.textColor = [UIColor redColor];
    lab.font = [UIFont systemFontOfSize:14];
    
    [self.contentView addSubview:lab];
    
    //布局
    [lab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.contentView);
        make.left.equalTo(self.contentView).offset(20);
    }];
    
    
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
